package aole.mindfx.model;

import javafx.scene.Node;
import javafx.scene.control.Button;

public abstract class MindFXCall extends MindFXNode {
	protected MindFXMethod	method;
	protected MindFXMethod	parent;

	public MindFXCall( String n, MindFXMethod p ) {
		super( n );
		parent = p;
	}

	public MindFXMethod getMethod() {
		return method;
	}

	public void setMethod( MindFXMethod method ) {
		this.method = method;
	}

	@Override
	public Node getFXNode() {
		return null;
	}

	@Override
	public Button getCodeButton() {
		return null;
	}

	public MindFXMethod getParent() {
		return parent;
	}

}
